The first argument is the index of the element before which to insert, so a.insert(0, x) inserts at the front of the list, and a.insert(len(a) ... (see Sequence Types — list, tuple, range). Since Python is an evolving language, other sequence data types m